package cn.satoken.service;

import cn.dev33.satoken.util.SaResult;
import cn.satoken.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * <h3>saToken</h3>
 * <p></p>
 *
 * @author zxj
 * @since 2025-04-22 09:50:13
 */
public interface SysUserService extends IService<SysUser> {
    //分页查询
    SaResult selectPage(int page, int size, Map<String, Object> map);
    //根据部门id查询用户信息
    SaResult findByDeptId(Long deptId);
    //登陆
    SaResult login(SysUser user, HttpSession session);
}
